package com.zzptc.zzsgz.bdsjws.activities;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.LinearLayout;

import com.zzptc.zzsgz.bdsjws.R;
import com.zzptc.zzsgz.bdsjws.activities.base.BaseActivity;

import butterknife.BindView;
import butterknife.OnClick;

public class MyActivity extends BaseActivity {

    @BindView(R.id.tl_bar)
    Toolbar tlBar;
    @BindView(R.id.tv_new)
    LinearLayout tvNew;


    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setSupportActionBar(tlBar);
        ActionBar actionBar = getSupportActionBar();
        actionBar.setDisplayHomeAsUpEnabled(true);

    }

    @Override
    public int getContentXML() {
        return R.layout.activity_my;
    }

    @Override
    public void initData() {

    }

    @Override
    public void intView() {

    }


    @OnClick(R.id.tv_new)
    public void onViewClicked() {
        Intent intent = new Intent(this, NewActivity.class);
        startActivity(intent);
    }
}
